package com.itheima.pojo.admin;

/**
 * @author ChenJunJie
 * @date 2022/6/11 13:48
 * 员工登录类
 */
public class Login {

    /**
     * 员工id
     */
    private String id;
    /**
     *用户名
     */
    private String username;
    /**
     *员工真实姓名
     */
    private String name;
    /**
     *员工电话
     */
    private String phone;
    /**
     *员工性别
     */
    private String sex;
    /**
     *员工状态
     */
    private Integer status;
    /**
     * token
     */
    private String token;

    public Login() {
    }

    public Login(String id, String username, String name, String phone, String sex, Integer status, String token) {
        this.id = id;
        this.username = username;
        this.name = name;
        this.phone = phone;
        this.sex = sex;
        this.status = status;
        this.token = token;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String toString() {
        return "Login{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", status='" + status + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
